package com.xliee.modules.box.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xliee.modules.box.entity.BoxEntity;
import com.xliee.modules.box.mapper.BoxMapper;
import com.xliee.modules.box.service.IBoxService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lisongsong@xliee.com
 * @since 2024-09-05 16:39:42
 */
@Service
public class BoxServiceImpl extends ServiceImpl<BoxMapper, BoxEntity> implements IBoxService {

    @Override
    public List<BoxEntity> getList() {
        return this.list(new QueryWrapper<BoxEntity>().orderByAsc("sort"));
    }
}
